package FIT::eg::Fixture::DoubleListOfNum;

use FIT::Class;

extends 'FIT::Fixture::Column';

has [qw(list double)] => (is => 'rw', isa => 'ArrayRefOfNum');

sub compute_double {
    local $_;
    return [map { $_ * 2 } @{ $self->list }];
}
